//
//  DetailUpDownPriceCallOutView.h
//  PriceOnline
//
//  Created by Le Anh Tai on 8/29/13.
//  Copyright (c) 2013 Le Anh Tai. All rights reserved.
//

#import "CalloutView.h"
#import "LineView.h"

@protocol DetailUpDownPriceCalloutViewDelegate;
@interface DetailUpDownPriceCallOutView : CalloutView
{
    LineView *_lineView;
}

@property (nonatomic) id<DetailUpDownPriceCalloutViewDelegate> mainDelegate;
@property (nonatomic,strong) UILabel *lastUpdateDateLabel;
@property (nonatomic,strong) UILabel *lastUpdateBuyLabel;
@property (nonatomic,strong) UILabel *lastUpdateSellLabel;
@property (nonatomic,strong) UILabel *currentUpdateDateLabel;
@property (nonatomic,strong) UILabel *currentUpdateBuyLabel;
@property (nonatomic,strong) UILabel *currentUpdateSellLabel;
@property (nonatomic,strong) UILabel *changeLabel;
@property (nonatomic,strong) UILabel *buyChangeLabel;
@property (nonatomic,strong) UILabel *sellChangeLabel;

- (void)loadDataWithGoldPriceDictionary:(NSDictionary*)dict lastDate:(NSString*)lastDate currentDate:(NSString*)currentDate;

@end

@protocol DetailUpDownPriceCalloutViewDelegate <NSObject>

- (void)detailUpDownPriceCalloutViewouchOutSide:(CalloutView*)view atPoint:(CGPoint)point;
- (CGRect)detailUpDownPriceCalloutViewRectForSelectedIndex:(CalloutView*)view;
@end